package com.yc.damai.dao;
/**
 * 分类列表查询
 */
import java.util.List;


import com.yc.damai.bean.Category;
import com.yc.damai.bean.CategorySecond;
import com.yc.damai.util.DBHelper;

public class CategoryDao {

	public List<Category> query() {
		String sql = "select * from category " ;
		
		return DBHelper.query(sql, Category.class);
	}
	public List<CategorySecond> queryfl() {
		String sql = "select * from CategorySecond " ;
		
		return DBHelper.query(sql, CategorySecond.class);
	}
}
